﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ParamSet.aspx.cs" Inherits="System_ParamSet" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>参数设置</title>
    <link href="../css/adminCss.css" rel="stylesheet" type="text/css" />
       <script type="text/javascript" src="../js/rl.js"></script>
        <script type="text/javascript" src="../js/submit.js"></script>
    <script type="text/javascript">
    function selclass() 
    {
	    var result = window.showModalDialog('../TabPage.aspx','','dialogWidth:340px;dialogHeight:200px;dialogLeft:340px;dialogTop:250px;scroll:yes;help:0;status:no;');
    
        if(result != 0&&result != undefined)
        {
            document.getElementById("HidUrl").value = result;
             document.getElementById("txtImgTitle").value = result;
            
        }
       
      }
  
        function CheckRadio()
        {
           
                document.getElementById("modul").style.display="none";
           
        }
        
         function Check()
        {
           
                document.getElementById("modul").style.display="";
           
        }
        
        function selectCheck()
        {
            if(document.getElementById("Checkbox2").checked)
            {
                document.getElementById("txtAddress").value="listnews.aspx";
            }
            else 
            {
                  document.getElementById("txtAddress").value=""; 
            }
          
        }
        
          function dispAdd()
         {
            document.getElementById("flag").style.display="none";
         }
         
         
     function CheckForm(form)
     {
           return checknull(form)
          if (editor.EditMode.checked==true)
	          document.getElementById("Content").value=editor.HtmlEdit.document.body.innerText;
          else
	          document.getElementById("Content").value=editor.HtmlEdit.document.body.innerHTML; 
          if (document.getElementById("Content").value=="")
          {
            alert("文章内容不能为空！");
	        editor.HtmlEdit.focus();
	        return false;
          }
          return true;  
  
     }
     function resUrl()
     {
        var url=document.getElementById("txtImgTitle").value;
        if(url!="")
        {
        window.open('SeekImage.aspx?url=' + url + "&title=" + url + "");
        
        }
        else
        {
            alert("没找到图片");
        }
     }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="31" height="22">
                    <img src="../images/module.gif" width="20" height="22" alt="" /></td>
                <td ><asp:Label ID="lblPath" runat="server"></asp:Label>                    </td>
            </tr>
        </table>
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td bgcolor="#3CB6E5" height="5px">
                </td>
            </tr>
        </table>
        <table cellpadding="1" cellspacing="1" class="tabGg" width="99%">
            <tr>
                <th width="19%"  bgcolor="#FFFFFF" class="r_bg"  >站点状态：</th>
                
                <td colspan="3" bgcolor="#FFFFFF" class="right_bg">&nbsp;<asp:RadioButton ID="RadioOpen" runat="server" GroupName="oc" Checked="True" Text="打开" />
                    <asp:RadioButton ID="RadioClose" runat="server" GroupName="oc" Text="关闭" />
                    &nbsp; &nbsp;&nbsp; (站点关闭之后,后台管理员仍然可以登陆)</td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg" >关闭原因：</th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:TextBox ID="txtCont" runat="server" Columns="60" Rows="3" TextMode="MultiLine"></asp:TextBox>
                    &nbsp;&nbsp;</td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg nobr" >
                    是否显示活动价格：</th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:RadioButton ID="RadioPrice" runat="server" GroupName="lr" Checked="True" Text="显示" />
                    <asp:RadioButton ID="RadioPric" runat="server" GroupName="lr" Text="不显示"/>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg nobr" >
                    是否显示最低限价：</th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:RadioButton ID="Radiorestprice1" runat="server" GroupName="zd" Checked="True" Text="显示" />
                    <asp:RadioButton ID="Radiorestprice2" runat="server" GroupName="zd" Text="不显示"/>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg" >系统创建时间：</th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:TextBox ID="txtCarentDate" runat="server"   CssClass="input1" Width="200px"></asp:TextBox>
                    &nbsp; &nbsp; 格式为：年-月-日
                    时:分:秒</td>
            </tr>
            
            <tr>
                <th bgcolor="#ffffff" class="r_bg" >系统（单位）名称：</th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:TextBox ID="txtSiteName" runat="server" CssClass="input1" Width="310px"></asp:TextBox>&nbsp;
                </td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg" >
                    系统网址：
                </th>
              <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:TextBox ID="txtSiteAddress" runat="server" CssClass="input1" Width="280px"></asp:TextBox>
                  &nbsp; 请输入完整的格式，如：<a href="http://www.maopsoft.com">http://www.maopsoft.com</a></td>
            </tr>
            <tr id="Tr2">
              <th bgcolor="#ffffff" class="r_bg" >联系地址：</th>
              <td colspan="3" bgcolor="#ffffff" class="right_bg">
                  <asp:TextBox ID="txtLXAddress" runat="server" CssClass="input1" Width="250px"></asp:TextBox></td>
            </tr>
            <tr id="Tr5">
              <th bgcolor="#ffffff" class="r_bg" >版权所有：</th>
              <td width="36%"  bgcolor="#ffffff" class="right_bg">
              <asp:TextBox ID="txtsuoyou" runat="server" CssClass="input1" Width="200px"></asp:TextBox></td>
              <td width="11%"  bgcolor="#ffffff" class="r_bg" >备案号：</td>
              <td width="34%"  bgcolor="#ffffff" class="right_bg">
              <asp:TextBox ID="txtANhao" runat="server" CssClass="input1" Width="200px"></asp:TextBox></td>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg" >                </th>
                <td colspan="3" bgcolor="#ffffff" class="right_bg">
                    <asp:Button ID="btnSave" runat="server" Text=" 保存 " CssClass="submit"  OnClick="btnSave_Click" /></td>
            </tr>
        </table>
        <asp:HiddenField ID="HidUrl" runat="server" />
    </form>
</body>
</html>